@import "./font/iconfont.less";

@font-face {font-family: "DINAlternateBold";
  src: url('./font-custom/DINAlternateBold.ttf'); /* IE9 */
}

html,
body {
  // height: -webkit-fill-available;
  // height: fill-available;
}

body {
  // font-family: Avenir, Helvetica, Arial, sans-serif;
  // -webkit-font-smoothing: antialiased;
  // -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
  background-color: #eff2f8;
}

#app {
  font-size: 14px;
}

img {
  display: block;
}

.common-list-body {
  height: calc(100vh - 44px);
  overflow: auto;
  position: relative;
}

.common-list-body-1 {
  height: calc(100vh - 44px - 50px);
}

.common-list-body-2 {
  height: calc(100vh - 44px - 54px);
}

.common-list-body-3 {
  height: calc(100vh - 44px);
}

a:link {
  text-decoration: none;
  color: #333333;
}
a:visited {
  text-decoration: none;
  color: #333333;
}
a:hover {
  text-decoration: none;
  color: #333333;
}
a:active {
  text-decoration: none;
  color: #333333;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

// 暂时隐藏所有过滤iconfont
.iconshaixuan {
  display: none;
}

.van-overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.iconwenjian {
  color: #ffc35e;
}

.text-1 {
  font-size: 15px;
  color: #2c3038;
}

.text-2 {
  font-size: 11px;
  color: #797f89;
}

.iconword {
  color: #3d8cea !important;
}

.iconpdf {
  color: #e53d3c !important;
}

.iconxcel {
  color: #22a871 !important;
}

.iconzip {
  color: #9c81d9 !important;
}

.iconppt1 {
  color: #f7622c !important;
}
.icondefault_file {
  color: #3d8cea !important;
}
.iconrar {
  color: #32b6a8 !important;
}

.van-field__right-icon,
.van-icon-clear {
  padding-right: 16px !important;
}

.swipe-cell-right {
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 100%;
  & > div {
    height: 100%;
    padding: 0 18px;
    color: white;
    background-color: #c2d3e2;
    display: flex;
    align-items: center;

    &:last-child {
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
    }
  }
  .c-blue {
    background-color: #69b9fc;
  }
  .c-red {
    background-color: #fe5e5e;
  }
}

// 底下带按钮的popup right
.common-popup-1 {
  .popup-content {
    height: calc(100% - 50px);
    overflow: auto;
  }
  .popup-btn {
    height: 50px;
    display: flex;
    button {
      width: 100%;
      height: 100%;
    }
    .van-button--primary {
      background-color: #69b9fc;
      border: 1px solid #69b9fc;
    }
    .van-button--default {
      border: 0;
      border-top: 1px solid #eeeeee;
    }
  }
}

.bottom-line {
  position: relative;
  &::after {
    position: absolute;
    content: "";
    bottom: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid #e4e4e4;
    transform: scaleY(0.5);
  }
}

.top-line {
  position: relative;
  &::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid #e4e4e4;
    transform: scaleY(0.5);
  }
}
.van-pull-refresh {
  // height: -webkit-fill-available;
  height: 100%;
  overflow: auto!important;
}
